package router

import (
	"github.com/gin-gonic/gin"
	"go.uber.org/zap"
	"shop-web/user-web/api"
)

func InitBaseRouter(router *gin.RouterGroup) {
	baseRouter := router.Group("base")
	{
		baseRouter.GET("captcha", api.GetCaptcha)
		baseRouter.GET("health", api.Health)
	}
	zap.S().Infof("配置基础的相关路由信息，如验证码等")
}
